package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.ParkingCardOrder;

/**
 * 停车卡订单Mapper接口
 * 
 * @author dongdong
 * @date 2025-09-09
 */
public interface ParkingCardOrderMapper 
{
    /**
     * 查询停车卡订单
     * 
     * @param id 停车卡订单主键
     * @return 停车卡订单
     */
    public ParkingCardOrder selectParkingCardOrderById(Long id);

    ParkingCardOrder selectParkingCardOrderByOrderNo(String orderNo);

    /**
     * 查询停车卡订单列表
     * 
     * @param parkingCardOrder 停车卡订单
     * @return 停车卡订单集合
     */
    public List<ParkingCardOrder> selectParkingCardOrderList(ParkingCardOrder parkingCardOrder);

    /**
     * 新增停车卡订单
     * 
     * @param parkingCardOrder 停车卡订单
     * @return 结果
     */
    public int insertParkingCardOrder(ParkingCardOrder parkingCardOrder);

    /**
     * 修改停车卡订单
     * 
     * @param parkingCardOrder 停车卡订单
     * @return 结果
     */
    public int updateParkingCardOrder(ParkingCardOrder parkingCardOrder);

    /**
     * 删除停车卡订单
     * 
     * @param id 停车卡订单主键
     * @return 结果
     */
    public int deleteParkingCardOrderById(Long id);

    /**
     * 批量删除停车卡订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteParkingCardOrderByIds(Long[] ids);
}
